/**
 * @author yxw
 * date : 2013年11月28日 下午4:19:06 
 */
package com.tzinfo.tzb.util;

import java.text.SimpleDateFormat;
import java.util.Date;

import android.os.Environment;

public class FileConfig {
	public static String SD_PATH = Environment.getExternalStorageDirectory()
			.getPath() + "/tzinfo/";
	public static String PHONE_PATH = "/data/data/com.tzinfo.tzt/files/";
	public static String TEMP_PATH = Environment.getExternalStorageDirectory()
			+ "/tzinfo/tzb/temp";
	public static String IMAGE_PATH = Environment.getExternalStorageDirectory()
			+ "/tzinfo/tzb/images";
	public static String TEMP_FILE = "temp.temp";
	public static String IMAGE_NAME="";
	public static String getRandomJpgName(){
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");// 设置日期格式
		String name="IMG_";
		name+=df.format(new Date());
		name+=(int)Math.random()*100000+".jpg";
		return name;
	}
}
